<?php get_header(); ?>

	<main id="main" class="page-eventos" role="main">
		<!-- section -->
		<section id="content">
			<?php if (have_posts()): while (have_posts()) : the_post(); ?>
			<h1><?php the_title(); ?></h1>
			<div class="txt">
				<?php the_content(); ?>
			</div>
			<?php endwhile; ?>
			<?php else: ?>
			<!-- article -->
			<article>
			<h1>Desculpe, evento não encontrado.</h1>
			</article>
			<!-- /article -->
			<?php endif; ?>
		</section>
		<!-- /section -->
		<?php get_sidebar(); ?>
	</main>
	<script>
		$(document).ready(function() {
			js.eventos();
		});
	</script>
<?php get_footer(); ?>
